WPO\WC\PDF_Invoices\Documents\Order_Document_Methods D

Total Complexity 239
Dependencies 1
Dependents 0
Total lines 1,202
Lines of code 825
Logical lines of code 451
Comment lines 224
Methods 66
Properties 0

Methods 66

Method Rating Maintainability Complexity Lines of code
get_tax_rate()
B
41 19 47
get_thumbnail()
A
43 15 41
get_woocommerce_totals()
A
43 15 40
get_order_notes()
A
44 14 45
get_order_items()
A
40 12 54
get_custom_field()
A
52 13 22
get_tax_rates_from_order()
A
51 11 25
get_product_attribute()
A
53 8 22
get_order_discount()
S
51 6 28
order_notes()
S
56 6 17
ships_to_different_address()
S
51 5 28
get_formatted_item_price()
S
59 6 12
get_shipping_notes()
S
59 5 13
is_order_prop()
S
43 2 54
get_order_fees()
S
56 4 18
get_shipping_address()
S
56 4 18
get_order_taxes()
S
56 4 16
get_tax_rate_by_id()
S
59 4 14
get_thumbnail_id()
S
63 4 11
show_shipping_address()
S
67 4 7
custom_field()
S
65 4 9
get_phone()
S
65 4 8
show_billing_address()
S
67 4 7
document_display_date()
S
60 3 14
get_billing_address()
S
60 3 14
get_invoice_number()
S
63 3 11
get_order_shipping()
S
58 2 15
get_shipping_phone()
S
68 3 7
get_billing_email()
S
64 3 9
get_order_grand_total()
S
58 2 15
get_tax_rate_ids()
S
62 2 11
get_display_date_label()
S
63 2 11
get_order_date()
S
62 2 11
get_order_number()
S
64 2 10
document_notes()
S
68 2 8
get_order_subtotal()
S
64 2 9
calculate_tax_rate()
S
64 2 9
get_payment_method()
S
63 2 10
get_document_notes()
S
69 2 7
get_invoice_date()
S
68 2 7
get_refund_parent()
S
68 2 8
invoice_number()
S
81 1 3
shipping_notes()
S
81 1 3
format_price()
S
72 1 5
wc_price()
S
79 1 3
invoice_date()
S
81 1 3
order_grand_total()
S
75 1 4
is_refund()
S
80 1 3
order_discount()
S
75 1 4
product_attribute()
S
79 1 3
billing_address()
S
81 1 3
billing_email()
S
81 1 3
get_billing_phone()
S
75 1 4
billing_phone()
S
81 1 3
shipping_phone()
S
80 1 3
shipping_address()
S
81 1 3
get_current_date()
S
78 1 3
order_shipping()
S
75 1 4
current_date()
S
81 1 3
payment_method()
S
81 1 3
get_shipping_method()
S
74 1 4
shipping_method()
S
81 1 3
order_number()
S
81 1 3
get_refund_parent_id()
S
81 1 3
order_subtotal()
S
75 1 4
order_date()
S
81 1 3